Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Replace Remote Exception by IllegalStateException in MediaBrowserComp… #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tpn1512
Copy link

@tpn1512 tpn1512 commented Jun 10, 2020

Replace RemoteException by IllegalStateException in MediaBrowserCompat.ConnectionCallback() as it is thrown by mediaBrowser.getSessionToken()

@monkeyswarm
Copy link
Contributor

Thanks for updating.
Is it possible to just have the method throw an IllegalStateException, rather than catch it and throw a RuntimeException?

@monkeyswarm
Copy link
Contributor

Disregard previous, I see now it is within an overridden method

@michaelspeedcode
Copy link

The CI is failing because we are not catching RemoteException. Please can someone add this to the catches? I tried but I'm getting a 403 when I try to publish a branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants